package com.test;

import com.dongrj.framework.web.Converter;

public class NumConverter extends Converter<One, Two> {

    public NumConverter() {
        super(NumConverter::convertToDto, NumConverter::convertToEntity);
    }

    private static One convertToEntity(Two user) {
        return new One();
    }

    private static Two convertToDto(One user) {
        return new Two();
    }
}
